package com.zetor.ms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动服务
 */

@SpringBootApplication
@EnableAsync
@EnableEurekaClient
@EnableFeignClients
public class SeataCClientApplication {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(SeataCClientApplication.class);
        app.run(args);
        System.out.println("started");
    }
}
